<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: src/uv_udp_c.cpp 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle"><div class="title">uv_udp_c.cpp 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;unistd.h&gt;</code><br />
<code>#include &lt;regex&gt;</code><br />
<code>#include &lt;thread&gt;</code><br />
<code>#include &lt;chrono&gt;</code><br />
<code>#include &quot;err_code.h&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d1/d41/uv__udp__c_8hpp_source.html">uv_udp_c.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../dc/da6/resolver_8hpp_source.html">resolver.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../dc/d4b/uvlper_8hpp_source.html">uvlper.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
uv_udp_c.cpp 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d0/d95/uv__udp__c_8cpp__incl.png" border="0" usemap="#asrc_2uv__udp__c_8cpp" alt=""/></div>
<map name="asrc_2uv__udp__c_8cpp" id="asrc_2uv__udp__c_8cpp">
<area shape="rect" title=" " alt="" coords="279,5,404,32"/>
<area shape="rect" title=" " alt="" coords="13,80,81,107"/>
<area shape="poly" title=" " alt="" coords="288,35,96,82,95,77,287,30"/>
<area shape="rect" title=" " alt="" coords="104,80,158,107"/>
<area shape="poly" title=" " alt="" coords="306,35,173,80,171,75,304,30"/>
<area shape="rect" title=" " alt="" coords="182,80,240,107"/>
<area shape="poly" title=" " alt="" coords="320,35,249,74,246,70,318,30"/>
<area shape="rect" title=" " alt="" coords="263,80,324,107"/>
<area shape="poly" title=" " alt="" coords="335,34,312,69,308,66,331,31"/>
<area shape="rect" title=" " alt="" coords="348,80,431,107"/>
<area shape="poly" title=" " alt="" coords="352,31,375,66,371,69,348,34"/>
<area shape="rect" href="../../d1/d41/uv__udp__c_8hpp.html" title=" " alt="" coords="454,80,557,107"/>
<area shape="poly" title=" " alt="" coords="371,30,464,71,462,76,369,35"/>
<area shape="rect" href="../../dc/da6/resolver_8hpp.html" title=" " alt="" coords="631,155,724,181"/>
<area shape="poly" title=" " alt="" coords="405,19,453,24,507,35,562,52,614,78,645,107,667,139,663,142,641,110,611,82,560,57,506,40,452,30,404,24"/>
<area shape="rect" href="../../dc/d4b/uvlper_8hpp.html" title=" " alt="" coords="632,229,713,256"/>
<area shape="poly" title=" " alt="" coords="405,20,445,26,488,37,531,53,570,78,591,102,600,126,607,151,621,180,651,216,647,220,617,183,602,153,595,128,586,105,567,82,529,58,486,42,444,31,404,25"/>
<area shape="rect" title=" " alt="" coords="524,304,570,331"/>
<area shape="poly" title=" " alt="" coords="511,107,545,288,539,289,505,108"/>
<area shape="rect" title=" " alt="" coords="447,304,500,331"/>
<area shape="poly" title=" " alt="" coords="494,109,450,159,428,193,411,230,408,243,411,255,424,276,442,293,439,297,420,279,406,257,402,243,406,228,423,190,446,156,490,105"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html" title=" " alt="" coords="211,155,285,181"/>
<area shape="poly" title=" " alt="" coords="462,110,301,155,300,150,460,105"/>
<area shape="poly" title=" " alt="" coords="265,180,310,214,366,254,437,294,434,299,363,258,306,219,262,184"/>
<area shape="rect" title=" " alt="" coords="55,379,127,405"/>
<area shape="poly" title=" " alt="" coords="218,184,181,203,140,229,101,263,84,283,71,305,67,320,67,335,78,364,73,366,62,336,61,319,66,303,80,280,97,260,137,225,179,198,216,180"/>
<area shape="rect" title=" " alt="" coords="279,453,356,480"/>
<area shape="poly" title=" " alt="" coords="212,179,156,198,127,213,101,231,55,273,21,315,11,336,8,358,13,380,28,404,43,416,65,426,128,443,199,453,264,460,263,465,198,459,127,448,64,431,40,420,24,407,8,382,3,358,6,335,16,313,51,270,97,227,124,208,153,193,210,174"/>
<area shape="rect" title=" " alt="" coords="365,304,422,331"/>
<area shape="poly" title=" " alt="" coords="258,180,282,215,315,254,363,293,359,297,312,258,278,218,254,183"/>
<area shape="rect" href="../../d8/d68/fs_8hpp.html" title=" " alt="" coords="185,229,242,256"/>
<area shape="poly" title=" " alt="" coords="245,183,229,216,224,214,240,181"/>
<area shape="poly" title=" " alt="" coords="243,249,433,301,431,306,242,254"/>
<area shape="poly" title=" " alt="" coords="185,251,127,269,96,284,70,306,49,331,35,355,33,379,45,404,59,415,80,425,137,441,203,452,264,459,263,464,202,457,136,446,78,430,56,419,41,407,28,379,30,353,45,328,66,302,94,280,125,264,184,246"/>
<area shape="rect" title=" " alt="" coords="173,304,252,331"/>
<area shape="poly" title=" " alt="" coords="216,257,215,288,210,288,211,256"/>
<area shape="rect" title=" " alt="" coords="276,304,340,331"/>
<area shape="poly" title=" " alt="" coords="232,254,282,292,278,297,229,259"/>
<area shape="rect" href="../../de/dfd/tree_8hpp.html" title=" " alt="" coords="81,304,149,331"/>
<area shape="poly" title=" " alt="" coords="198,259,146,297,142,293,195,254"/>
<area shape="poly" title=" " alt="" coords="113,332,102,365,97,363,108,330"/>
<area shape="poly" title=" " alt="" coords="150,326,236,352,274,366,294,377,312,406,319,438,314,439,307,408,290,381,271,371,234,357,149,331"/>
<area shape="rect" title=" " alt="" coords="494,379,562,405"/>
<area shape="poly" title=" " alt="" coords="150,326,161,328,247,344,314,354,469,376,480,378,479,383,468,381,314,359,246,349,160,333,149,331"/>
<area shape="rect" title=" " alt="" coords="150,379,218,405"/>
<area shape="poly" title=" " alt="" coords="129,329,164,365,160,369,125,333"/>
<area shape="rect" title=" " alt="" coords="242,379,281,405"/>
<area shape="poly" title=" " alt="" coords="142,329,230,372,227,377,139,334"/>
<area shape="rect" title=" " alt="" coords="600,379,683,405"/>
<area shape="poly" title=" " alt="" coords="150,326,161,328,277,346,367,355,459,362,575,376,585,378,585,383,575,381,458,367,367,360,276,352,160,333,149,331"/>
<area shape="rect" href="../../d6/de9/typetraits_8hpp.html" title=" " alt="" coords="355,379,456,405"/>
<area shape="poly" title=" " alt="" coords="150,325,161,328,341,372,339,378,160,333,149,330"/>
<area shape="poly" title=" " alt="" coords="392,408,346,445,343,441,389,404"/>
<area shape="poly" title=" " alt="" coords="662,184,505,297,502,293,659,180"/>
<area shape="poly" title=" " alt="" coords="725,174,780,191,806,207,829,228,847,253,857,278,856,304,844,332,831,347,814,361,766,386,705,407,635,424,491,449,372,463,372,458,490,444,634,419,703,401,764,381,811,357,828,343,839,329,851,303,851,279,842,256,825,231,803,211,778,196,724,179"/>
<area shape="rect" title=" " alt="" coords="737,229,815,256"/>
<area shape="poly" title=" " alt="" coords="696,180,749,218,746,222,693,184"/>
<area shape="poly" title=" " alt="" coords="679,182,677,214,672,213,674,182"/>
<area shape="rect" href="../../d3/df7/ary__str_8hpp.html" title=" " alt="" coords="420,229,506,256"/>
<area shape="poly" title=" " alt="" coords="641,184,516,226,514,221,639,179"/>
<area shape="poly" title=" " alt="" coords="652,259,583,298,580,294,649,254"/>
<area shape="rect" title=" " alt="" coords="769,304,829,331"/>
<area shape="poly" title=" " alt="" coords="696,254,765,294,762,298,693,259"/>
<area shape="rect" href="../../de/d6d/singleton_8hpp.html" title=" " alt="" coords="594,304,745,331"/>
<area shape="poly" title=" " alt="" coords="674,257,673,288,668,288,669,256"/>
<area shape="poly" title=" " alt="" coords="646,334,568,374,565,369,644,329"/>
<area shape="poly" title=" " alt="" coords="667,332,654,365,649,363,662,330"/>
<area shape="poly" title=" " alt="" coords="467,256,472,288,467,289,462,257"/>
<area shape="poly" title=" " alt="" coords="453,258,418,294,414,291,449,255"/>
</map>
</div>
</div>
<p><a href="../../de/d89/uv__udp__c_8cpp_source.html">浏览该文件的源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a8a0ff96f97339ff052f41f21af46db16" id="r_a8a0ff96f97339ff052f41f21af46db16"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8a0ff96f97339ff052f41f21af46db16">uv_on_udp_shutdown_cb</a> (uv_shutdown_t *req, int status)</td></tr>
<tr class="memdesc:a8a0ff96f97339ff052f41f21af46db16"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用libuv实现的udp客户端  <br /></td></tr>
<tr class="separator:a8a0ff96f97339ff052f41f21af46db16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab57a3ea0a38c4578fa63d860a7255a90" id="r_ab57a3ea0a38c4578fa63d860a7255a90"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab57a3ea0a38c4578fa63d860a7255a90">do_on_udp_alloc_buff</a> (uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf)</td></tr>
<tr class="separator:ab57a3ea0a38c4578fa63d860a7255a90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a512dba1e1fcfd342fd54425e38907b63" id="r_a512dba1e1fcfd342fd54425e38907b63"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a512dba1e1fcfd342fd54425e38907b63">do_on_udp_recv</a> (uv_udp_t *handle, ssize_t nread, const uv_buf_t *buf, const struct sockaddr *addr, unsigned flags)</td></tr>
<tr class="separator:a512dba1e1fcfd342fd54425e38907b63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a212e4d97733307c8bca35dd0a0801d37" id="r_a212e4d97733307c8bca35dd0a0801d37"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a212e4d97733307c8bca35dd0a0801d37">do_on_udp_write_cb</a> (uv_udp_send_t *req, int status)</td></tr>
<tr class="separator:a212e4d97733307c8bca35dd0a0801d37"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">函数说明</h2>
<a id="ab57a3ea0a38c4578fa63d860a7255a90" name="ab57a3ea0a38c4578fa63d860a7255a90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab57a3ea0a38c4578fa63d860a7255a90">&#9670;&#160;</a></span>do_on_udp_alloc_buff()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void do_on_udp_alloc_buff </td>
          <td>(</td>
          <td class="paramtype">uv_handle_t *</td>          <td class="paramname"><span class="paramname"><em>handle</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t</td>          <td class="paramname"><span class="paramname"><em>suggested_size</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uv_buf_t *</td>          <td class="paramname"><span class="paramname"><em>buf</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/d89/uv__udp__c_8cpp_source.html">uv_udp_c.cpp</a> 第 <a class="el" href="../../de/d89/uv__udp__c_8cpp_source.html#l00021">21</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../de/d89/uv__udp__c_8cpp_ab57a3ea0a38c4578fa63d860a7255a90_icgraph.png" border="0" usemap="#ade/d89/uv__udp__c_8cpp_ab57a3ea0a38c4578fa63d860a7255a90_icgraph" alt=""/></div>
<map name="ade/d89/uv__udp__c_8cpp_ab57a3ea0a38c4578fa63d860a7255a90_icgraph" id="ade/d89/uv__udp__c_8cpp_ab57a3ea0a38c4578fa63d860a7255a90_icgraph">
<area shape="rect" title=" " alt="" coords="221,5,367,32"/>
<area shape="rect" href="../../d0/db2/class_c_u_v_u_d_p_client.html#a0ee1c096ae92172681081421731982ee" title="连接操作。" alt="" coords="5,5,173,32"/>
<area shape="poly" title=" " alt="" coords="205,21,173,21,173,16,205,16"/>
</map>
</div>

</div>
</div>
<a id="a512dba1e1fcfd342fd54425e38907b63" name="a512dba1e1fcfd342fd54425e38907b63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a512dba1e1fcfd342fd54425e38907b63">&#9670;&#160;</a></span>do_on_udp_recv()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void do_on_udp_recv </td>
          <td>(</td>
          <td class="paramtype">uv_udp_t *</td>          <td class="paramname"><span class="paramname"><em>handle</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ssize_t</td>          <td class="paramname"><span class="paramname"><em>nread</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uv_buf_t *</td>          <td class="paramname"><span class="paramname"><em>buf</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct sockaddr *</td>          <td class="paramname"><span class="paramname"><em>addr</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned</td>          <td class="paramname"><span class="paramname"><em>flags</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/d89/uv__udp__c_8cpp_source.html">uv_udp_c.cpp</a> 第 <a class="el" href="../../de/d89/uv__udp__c_8cpp_source.html#l00029">29</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../de/d89/uv__udp__c_8cpp_a512dba1e1fcfd342fd54425e38907b63_cgraph.png" border="0" usemap="#ade/d89/uv__udp__c_8cpp_a512dba1e1fcfd342fd54425e38907b63_cgraph" alt=""/></div>
<map name="ade/d89/uv__udp__c_8cpp_a512dba1e1fcfd342fd54425e38907b63_cgraph" id="ade/d89/uv__udp__c_8cpp_a512dba1e1fcfd342fd54425e38907b63_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,122,32"/>
<area shape="rect" href="../../d0/db2/class_c_u_v_u_d_p_client.html#a42e8d07c237642c1bf725b6b0592826c" title="接收到数据后，调用这个函数" alt="" coords="170,5,339,32"/>
<area shape="poly" title=" " alt="" coords="122,16,154,16,154,21,122,21"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../de/d89/uv__udp__c_8cpp_a512dba1e1fcfd342fd54425e38907b63_icgraph.png" border="0" usemap="#ade/d89/uv__udp__c_8cpp_a512dba1e1fcfd342fd54425e38907b63_icgraph" alt=""/></div>
<map name="ade/d89/uv__udp__c_8cpp_a512dba1e1fcfd342fd54425e38907b63_icgraph" id="ade/d89/uv__udp__c_8cpp_a512dba1e1fcfd342fd54425e38907b63_icgraph">
<area shape="rect" title=" " alt="" coords="221,5,337,32"/>
<area shape="rect" href="../../d0/db2/class_c_u_v_u_d_p_client.html#a0ee1c096ae92172681081421731982ee" title="连接操作。" alt="" coords="5,5,173,32"/>
<area shape="poly" title=" " alt="" coords="205,21,173,21,173,16,205,16"/>
</map>
</div>

</div>
</div>
<a id="a212e4d97733307c8bca35dd0a0801d37" name="a212e4d97733307c8bca35dd0a0801d37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a212e4d97733307c8bca35dd0a0801d37">&#9670;&#160;</a></span>do_on_udp_write_cb()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void do_on_udp_write_cb </td>
          <td>(</td>
          <td class="paramtype">uv_udp_send_t *</td>          <td class="paramname"><span class="paramname"><em>req</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>status</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/d89/uv__udp__c_8cpp_source.html">uv_udp_c.cpp</a> 第 <a class="el" href="../../de/d89/uv__udp__c_8cpp_source.html#l00053">53</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../de/d89/uv__udp__c_8cpp_a212e4d97733307c8bca35dd0a0801d37_cgraph.png" border="0" usemap="#ade/d89/uv__udp__c_8cpp_a212e4d97733307c8bca35dd0a0801d37_cgraph" alt=""/></div>
<map name="ade/d89/uv__udp__c_8cpp_a212e4d97733307c8bca35dd0a0801d37_cgraph" id="ade/d89/uv__udp__c_8cpp_a212e4d97733307c8bca35dd0a0801d37_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,146,32"/>
<area shape="rect" href="../../d0/db2/class_c_u_v_u_d_p_client.html#af4ca766d83f425d979162d08b5700019" title="完成发送后会调用这个函数" alt="" coords="194,5,362,32"/>
<area shape="poly" title=" " alt="" coords="146,16,178,16,178,21,146,21"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../de/d89/uv__udp__c_8cpp_a212e4d97733307c8bca35dd0a0801d37_icgraph.png" border="0" usemap="#ade/d89/uv__udp__c_8cpp_a212e4d97733307c8bca35dd0a0801d37_icgraph" alt=""/></div>
<map name="ade/d89/uv__udp__c_8cpp_a212e4d97733307c8bca35dd0a0801d37_icgraph" id="ade/d89/uv__udp__c_8cpp_a212e4d97733307c8bca35dd0a0801d37_icgraph">
<area shape="rect" title=" " alt="" coords="205,5,345,32"/>
<area shape="rect" href="../../d0/db2/class_c_u_v_u_d_p_client.html#abf1df16a268b9e83c2d5ce9fc1638a0e" title="发送数据。这个函数发送的时候不会将要发送的数据拷贝到缓冲区中 因此需要在具体应用的时候进行数据内存管理。" alt="" coords="5,5,157,32"/>
<area shape="poly" title=" " alt="" coords="189,21,157,21,157,16,189,16"/>
</map>
</div>

</div>
</div>
<a id="a8a0ff96f97339ff052f41f21af46db16" name="a8a0ff96f97339ff052f41f21af46db16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a0ff96f97339ff052f41f21af46db16">&#9670;&#160;</a></span>uv_on_udp_shutdown_cb()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uv_on_udp_shutdown_cb </td>
          <td>(</td>
          <td class="paramtype">uv_shutdown_t *</td>          <td class="paramname"><span class="paramname"><em>req</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>status</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>使用libuv实现的udp客户端 </p>
<dl class="section version"><dt>版本</dt><dd>0.1 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>2018-2-27 </dd></dl>
<dl class="section author"><dt>作者</dt><dd>宋炜 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../de/d89/uv__udp__c_8cpp_source.html">uv_udp_c.cpp</a> 第 <a class="el" href="../../de/d89/uv__udp__c_8cpp_source.html#l00016">16</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
